package interfaceDao;

import essenceClasses.User;

import java.lang.String;
import java.sql.SQLException;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 01.06.14
 * Time: 10:37
 * To change this template use File | Settings | File Templates.
 */
public interface IUserDao {

    public List<User> getAllUser() throws SQLException;

    public User getUser(String login) throws SQLException;

    public User addUser(String login, String pass, String fio, int access) throws SQLException;

    public int getAccesUser(String login) throws SQLException;

}
